/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"D2E49EFC-4099-4BB9-B593-18BD735B9360"}
 */
function nuevo(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_ADMINISTRACION',JSWindow.MODAL_DIALOG)
	forms.administraciones_dtl.controller.newRecord()
	forms.administraciones_dtl.controller.show($win)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"F014F238-C68E-4607-8B76-048796BFA64F"}
 */
function modificar(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_ADMINISTRACION',JSWindow.MODAL_DIALOG)
	forms.administraciones_dtl.controller.show($win)
}
